<div class="nav_lf">
	<ul>
		<?php if (in_array('gasstation/admin/index', $_SESSION['GASSTATION_ACL_ARR'])){?>
		<li>
		    <a href="<?php echo site_url("gasstation/index") ?>" class="box <?php if (isset($navi) && $navi == "index") { ?>active<?php } ?>">
		    	<img src="<?php echo base_url()?>themes/gasstation/images/1.png" />
		    	实时订单
		    </a>
		</li>
		<?php }?>
		<?php if (in_array('gasstation/order', $_SESSION['GASSTATION_ACL_ARR'])){?>
		<li>
		    <a href="javascript:;" class="box">
		    	<img src="<?php echo base_url()?>themes/gasstation/images/2.png" />
		    	对账管理
		    </a>
		    <dl>
              <?php if($_SESSION['GASSTATION_USER_NAME']=='gongxiao'):?>
			  <dd><a href="<?php echo site_url("gasstation/order/gongxiao_index") ?>" <?php if (isset($navi) && $navi=="order" && $navi_li == "gongxiao_index") { ?>class="active"<?php } ?>>结算概况</a></dd>
		      <?php endif;?>
              
              <?php if($_SESSION['GASSTATION_USER_NAME']=='risheng'):?>
			  <dd><a href="<?php echo site_url("gasstation/order/risheng_index") ?>" <?php if (isset($navi) && $navi=="order" && $navi_li == "risheng_index") { ?>class="active"<?php } ?>>结算概况</a></dd>
		      <?php endif;?>
              
              
              
			  <?php if (in_array('gasstation/order/duizhang', $_SESSION['GASSTATION_ACL_ARR'])){?>
			  <dd><a href="<?php echo site_url("gasstation/order/duizhang") ?>" <?php if (isset($navi) && $navi=="order" && $navi_li == "duizhang") { ?>class="active"<?php } ?>>对账查询</a></dd>
		      <?php }?>
		      <?php if (in_array('gasstation/order/jiesuan', $_SESSION['GASSTATION_ACL_ARR'])){?>
		      <dd><a href="<?php echo site_url("gasstation/order/jiesuan") ?>" <?php if (isset($navi) && $navi=="order" && $navi_li == "jiesuan") { ?>class="active"<?php } ?>>结算查询</a></dd>
		      <?php }?>
		    </dl>
		</li>
		<?php }?>
		<?php if (in_array('gasstation/gasstation', $_SESSION['GASSTATION_ACL_ARR'])){?>
		<li>
		    <a href="javascript:;" class="box">
		    	<img src="<?php echo base_url()?>themes/gasstation/images/3.png" />
		    	油站管理
		    </a>
		    <dl>
		      <?php if (in_array('gasstation/gasstation/index', $_SESSION['GASSTATION_ACL_ARR'])){?>
		      <!-- <dd><a href="<?php echo site_url("gasstation/gasstation/index")?>" <?php if (isset($navi) && $navi=="gasstation" && $navi_li == "index") { ?>class="active"<?php } ?>>油站信息</a></dd> -->
		      <?php }?>
		      <?php if (in_array('gasstation/gasolinemodel/index', $_SESSION['GASSTATION_ACL_ARR'])){?>
		      <dd><a href="<?php echo site_url("gasstation/gasolinemodel/index") ?>" <?php if (isset($navi) && $navi=="gasolinemodel" && $navi_li == "index") { ?>class="active"<?php } ?>>价格管理</a></dd>
		      <?php }?>
		      <?php if (in_array('gasstation/oilgun/index', $_SESSION['GASSTATION_ACL_ARR'])){?>
		      <dd><a href="<?php echo site_url("gasstation/oilgun/index") ?>" <?php if (isset($navi) && $navi=="oilgun" && $navi_li == "index") { ?>class="active"<?php } ?>>油枪管理</a></dd>
		      <?php }?>
		      <?php if (in_array('gasstation/activity/index', $_SESSION['GASSTATION_ACL_ARR'])){?>
		      <dd><a href="<?php echo site_url("gasstation/activity/home") ?>" <?php if (isset($navi) && $navi=="activity" && $navi_li == "index") { ?>class="active"<?php } ?>>活动管理</a></dd>
		      <?php }?>
		    </dl>
		</li>
		<?php }?>
		<?php if (in_array('gasstation/systems', $_SESSION['GASSTATION_ACL_ARR'])){?>
		<li>
		    <a href="javascript:;" class="box">
		    	<img src="<?php echo base_url()?>themes/gasstation/images/4.png" />
		    	设置
		    </a>
		    <dl>
		      <?php if (in_array('gasstation/systems/user', $_SESSION['GASSTATION_ACL_ARR'])){?>
		      <dd><a href="<?php echo site_url("gasstation/systems/user")?>" <?php if (isset($navi) && $navi=="systems" && $navi_li == "user") { ?>class="active"<?php } ?>>用户</a></dd>
		      <?php }?>
		      <?php if (in_array('gasstation/systems/user', $_SESSION['GASSTATION_ACL_ARR'])){?>
		      <dd><a href="<?php echo site_url("gasstation/systems/option")?>" <?php if (isset($navi) && $navi=="systems" && $navi_li == "option") { ?>class="active"<?php } ?>>通知</a></dd>
		      <?php }?>
		    </dl>
		</li>
		<?php }?>
	</ul>
</div>